import type {BrowserWindow} from 'electron'
import {watchDrag} from '@/utils/electronEvent/watchDrag'
import watchMouseMove from '@/utils/electronEvent/watchMouseMove'

// 绑定事件监听
export default function watch(win: BrowserWindow) {
  watchDrag(win)
  watchMouseMove(win)
}